import 'package:riverpod_annotation/riverpod_annotation.dart';

part 'progress_notifier.g.dart';

@riverpod
class ProgressNotifier extends _$ProgressNotifier {
  double progress = 0;
  @override
  double build() {
    return progress;
  }

  void updateState({required double progress}) {
    state = progress;
  }
}